﻿Public Class SidePanel
    Public Event CancelButtonClickEvent()
    Public Event FindButtonClickEvent()
    Public Event SaveButtonClickEvent()
    Public Event PrintButtonClickEvent()

    Private Sub CancelButton_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles CancelButton.Click
        RaiseEvent CancelButtonClickEvent()
    End Sub

    Private Sub FindButton_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles FindButton.Click
        RaiseEvent FindButtonClickEvent()
    End Sub

    Private Sub PrintButton_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles PrintButton.Click
        RaiseEvent PrintButtonClickEvent()
    End Sub

    Private Sub SaveButton_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles SaveButton.Click
        RaiseEvent SaveButtonClickEvent()
    End Sub
End Class
